projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef71290
)
usb: hub: Don't continue on get_port_status failure
author
Marek Vasut
<
[email protected]
>
Tue, 3 May 2016 20:22:59 +0000
(22:22 +0200)
committer
Marek Vasut
<
[email protected]
>
Fri, 6 May 2016 18:06:56 +0000
(20:06 +0200)
The code shouldn't continue probing the port if get_port_status() failed.
Signed-off-by: Marek Vasut <
[email protected]
>
Cc: Chin Liang See <
[email protected]
>
Cc: Dinh Nguyen <
[email protected]
>
Cc: Hans de Goede <
[email protected]
>
Cc: Stefan Roese <
[email protected]
>
Cc: Stephen Warren <
[email protected]
>
common/usb_hub.c
patch
|
blob
|
history
diff --git
a/common/usb_hub.c
b/common/usb_hub.c
index 4f59802d591da96c9e566740ff78e07e65a5bb47..0f39c9faf7ea4248cd8e60da5fc1b6446208ebf7 100644
(file)
--- a/
common/usb_hub.c
+++ b/
common/usb_hub.c
@@
-402,6
+402,7
@@
static int usb_scan_port(struct usb_device_scan *usb_scan)
free(usb_scan);
return 0;
}
+ return 0;
}
portstatus = le16_to_cpu(portsts->wPortStatus);